<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require("base_c.php");

class about_c extends base_c {

	public function index()
	{
		$category_slug = $this->uri->segment(1);

		if($category_slug == "gioi-thieu")
		{
			$this->data['page'] = 'about';

			$itemAbout = $this->base_m->getNews('news', 0, 0, 0, 0, 1, '', 1);		
			$this->data['title'] = $itemAbout->name;

			$this->data['itemAbout'] = $itemAbout;

		} 
		else if ($category_slug == "doi-tac")
		{
			$this->data['page'] = 'partner';

			$this->data['title'] = 'Đối tác';
			$this->data['keywords'] = '';
			$this->data['description'] = '';
		}
		$this->load->view('layout', $this->data);
	}

}	